package com.szcport.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringApplicationRunListener;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.ConfigurableEnvironment;

public class LogoSpringApplication implements SpringApplicationRunListener {

    public LogoSpringApplication(SpringApplication application, String[] args) {

    }

    @Override
    public void starting() {

    }

    @Override
    public void environmentPrepared(ConfigurableEnvironment configurableEnvironment) {

    }

    @Override
    public void contextPrepared(ConfigurableApplicationContext configurableApplicationContext) {

    }

    @Override
    public void contextLoaded(ConfigurableApplicationContext configurableApplicationContext) {

    }

    @Override
    public void finished(ConfigurableApplicationContext configurableApplicationContext, Throwable throwable) {
        System.out.println(" ________      ________      ________      ________          ________      ________       ___    ___  ___           \n" +
                "|\\   ____\\    |\\   __  \\    |\\   __  \\    |\\   ___ \\        |\\   __  \\    |\\   __  \\     |\\  \\  /  /||\\  \\          \n" +
                "\\ \\  \\___|    \\ \\  \\|\\  \\   \\ \\  \\|\\  \\   \\ \\  \\_|\\ \\       \\ \\  \\|\\ /_   \\ \\  \\|\\  \\    \\ \\  \\/  / /\\ \\  \\         \n" +
                " \\ \\  \\  ___   \\ \\  \\\\\\  \\   \\ \\  \\\\\\  \\   \\ \\  \\ \\\\ \\       \\ \\   __  \\   \\ \\  \\\\\\  \\    \\ \\    / /  \\ \\  \\        \n" +
                "  \\ \\  \\|\\  \\   \\ \\  \\\\\\  \\   \\ \\  \\\\\\  \\   \\ \\  \\_\\\\ \\       \\ \\  \\|\\  \\   \\ \\  \\\\\\  \\    \\/  /  /    \\ \\__\\       \n" +
                "   \\ \\_______\\   \\ \\_______\\   \\ \\_______\\   \\ \\_______\\       \\ \\_______\\   \\ \\_______\\ __/  / /       \\|__|       \n" +
                "    \\|_______|    \\|_______|    \\|_______|    \\|_______|        \\|_______|    \\|_______||\\___/ /            ___     \n" +
                "                                                                                        \\|___|/            |\\__\\    \n" +
                "                                                                                                           \\|__|    \n" +
                "                                                                                                                    ");
    }
}
